<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script>
$(function() {

});
</script>
<style>
.portlet-content {
    border: 0px solid #AAAAAA;
}
</style>

<span>List Users</span>

<div class="portlet">
	<div class="portlet-header">Test</div>
	<div class="portlet-content">
		<c:if test="${!empty users}">
			<table align="left" border="1" cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%">
				<tr>
					<th>User ID</th>
					<th>User Name</th>
					<th>User Password</th>
					<th>User Email</th>
					<th>User Address</th>
				</tr>
		
				<c:forEach items="${users}" var="user">
					<tr>
						<td><c:out value="${user.id}"/></td>
						<td><c:out value="${user.username}"/></td>
						<td><c:out value="${user.password}"/></td>
						<td><c:out value="${user.email}"/></td>
						<td><c:out value="${user.address}"/></td>
					</tr>
				</c:forEach>
			</table>
		</c:if>
	</div>
</div>